
package com.example.octopus.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "admin")
@Data
public class Admin {

    private String account; // 编号

    private String password; // 用户名

    private String name; // 密码

    private String avatar; // 头像
}
